import sys
import os


# print(type(sys.argv))
# print(sys.argv)
# print(sys.argv[2])

def write_hello(file_path):
    file = open(file_path, 'w+', encoding='utf-8')
    file.write('hello world')
    file.close()


def read_conf():
    file = open('file5', 'r+', encoding='utf-8')
    text = file.read()
    print(text)
    print(type(text))
    print('*' * 50)
    my_dict = eval(text)
    print(my_dict)
    print(type(my_dict))

    file.close()


if __name__ == '__main__':
    # write_hello(sys.argv[1])
    # read_conf()
    # os.rmdir('dir4')

